package com.jcx.ldzj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
* 业精于勤荒于嬉，行成于思毁于随！
* @author ld
* @since 2021-07-19
*/
@Data
@TableName("dictionaries_type")
@ApiModel(value="DictionariesType对象", description="码值类别表")
public class DictionariesType extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "码值类别表id")
    @TableId(value="id_",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "码值类别名称")
    @TableField("dicnars_name_")
    private String dicnarsName;

    @ApiModelProperty(value = "码值类别类型")
    @TableField("dicnars_type_")
    private String dicnarsType;

    @ApiModelProperty(value = "备注")
    @TableField(value="remark_")
    private String remark;

    @Override
    public String toString() {
        super.toString();
        return "DictionariesType{" +
                "id=" + id +
                ", dicnarsName='" + dicnarsName + '\'' +
                ", dicnarsType='" + dicnarsType + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
